﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace SheepCultivation.Common.Domain
{
    /// <summary>
    /// 部门表
    /// </summary>
    public class Department
    {
        /// <summary>
        /// 部门Id
        /// </summary>
        [Key]
        public int DepartmentId { get; set; }
        /// <summary>
        /// 上级名称
        /// </summary>
        public string DepartmentNext { get; set; }
        /// <summary>
        /// 部门名称
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门停用状态（1启用 2 停用）
        /// </summary>
        public int DepartmentIsNot { get; set; }
        /// <summary>
        /// 部门类型（1行政管理，2生产加工，3业务销售）
        /// </summary>
        public int DepartmentTypeId { get; set; }
        /// <summary>
        /// 部门序号
        /// </summary>
        public int DepartmentNum { get; set; }
        /// <summary>
        /// 部门区域
        /// </summary>
        public string DepartmentAdd { get; set; }
        /// <summary>
        /// 逻辑删除
        /// </summary>
        public bool IsDelete { get; set; }

    }
}
